package v1

import (
	"SSO/controllers/sso"
	"github.com/gin-gonic/gin"
)
type SSO struct {}

func (SSO) Register(router *gin.RouterGroup){
	ssoController := sso.SSO{}
	ssoV1 := router.Group("/sso")
	{
		//退出登录
		ssoV1.GET("/logout", ssoController.Logout)
		ssoV1.POST("/delete/login/url", ssoController.DeleteLogin)
	}
}